package org.dwpd.domain.blog;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.sql.Date;

/**
 * Package:org.dwpd.model
 *
 * @ClassName:Blog
 * @Create:2024/8/18 16:37
 **/
@Component
@Data
public class Blog {
    private Integer id;     //博客ID
    private Integer userId; //用户ID
    private String title;   //标题
    private String images;  //帖子图片数量，最大数量9张，图片地址直接用逗号隔开
    private String content; //文字叙述
    private Integer liked;  //点赞数量
    private Integer disliked; //点踩数量
    private Integer deleteFlag; //逻辑删除，1表示删除，2表示未删除
    private Date createTime;   //创建时间
    private Date updateTime;   //更新时间
}
